package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.MusicDocCategory;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface MusicDocCategoryDao extends CrudRepository<MusicDocCategory, Integer> {
    List<MusicDocCategory> findAllByParentId(int parentId);
}
